<?php if(!empty($this->error_messages)):?>
    <div class="msg_panel">
        <?php foreach ($this->error_messages as $message):?>
        <p><?php echo YouNet_Util::translate($message)?></p>
        <?php endforeach;?>
    </div>
<?php endif;?>
